
<?php //echo CHtml::beginForm('ddfreelancer/index.php?r=job/create&id=1'); ?>   
	<p class="note">Fields with <span class="required">*</span> are required.</p>


<?php echo CHtml::errorSummary($user); ?>
	<?php if(Yii::app()->user->hasFlash('error')):?>
    	<div class="info" style="color: red;">
        	<?php echo Yii::app()->user->getFlash('error'); ?>
    	</div>
	<?php endif; ?>
	<div class="row">
		<?php echo CHtml::activeLabel($user,'email'); ?>
		<?php echo CHtml::activeTextField($user,'email',array('size'=>60,'value'=>'','maxlength'=>100)); ?>
		<?php echo CHtml::error($user,'email'); ?>
	</div>
	
	<div class="row">
		<?php echo CHtml::activeLabel($user,'name'); ?>
		<?php echo CHtml::activeTextField($user,'name',array('size'=>60,'value'=>' ','maxlength'=>255)); ?>
		<?php echo CHtml::error($user,'name'); ?>
	</div>
	<div class="row">
		<?php echo CHtml::activeLabel($user,'username'); ?>
		<?php echo CHtml::activeTextField($user,'username',array('size'=>60,'value'=>'','maxlength'=>150)); ?>
		<?php echo CHtml::error($user,'username'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabel($user,'password'); ?>
		<?php echo CHtml::activePasswordField($user,'password',array('size'=>60,'value'=>'','maxlength'=>100)); ?>
		<?php echo CHtml::error($user,'password'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabel($user,'password_repeat'); ?>
		<?php echo CHtml::activePasswordField($user,'password_repeat',array('size'=>60,'value'=>'','maxlength'=>100)); ?>
		<?php echo CHtml::error($user,'password_repeat'); ?>
	</div>
    <?php //echo CHtml::endForm(); ?>